package kdiaz.spring.bibliotecaweb.service;

import java.util.List;
import kdiaz.spring.bibliotecaweb.dao.PersonDao;
import kdiaz.spring.bibliotecaweb.model.Person;

/**
 *
 * @author kdiaz
 */
public class PersonServiceImpl implements PersonService {

    private PersonDao personDao;

    public void setPersonDao(PersonDao personDao) {
        this.personDao = personDao;
    }

    public List<Person> getPeople() {
        return personDao.getPeople();
    }
    
}
